package cate.common.table.item.compensate;

import cate.common.table.ESheet;

public class CompensateStarSheet extends ESheet<CompensateStarRow> {
    @Override
    public String getSheetName() {
        return "升星狗粮补偿";
    }

    public CompensateStarRow getRow(int camp, int star){
        if(star < 6){
            return null;
        }
        for(CompensateStarRow row : getList()){
            if(row.camp == camp && row.star == star){
                return row;
            }
        }
        return null;
    }
}
